import App from './App'
import Vue from 'vue'
import './uni.promisify.adaptor'
import awaitWrap from './utils/awaitWrap.js'
import store from './store'

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
// 异步处理
Vue.prototype.$await = awaitWrap
Vue.prototype.$store = store


Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
// 引入请求封装
require('./utils/request.js')(app)
app.$mount()
